<?php
require_once 'application/library/db/gcDaoFactory.php';
require_once 'application/constant/daoConfig.php';
/**
 * member_services_memberEditService
 * @author    Soochow University
 * @version   1.0
 * @exclude   作  成  日：2011/04/07
 */

class member_services_memberEditService{

    private $objDaoFactory;

    public function __construct(){
        $this->objDaoFactory = gcDaoFactory::getInstance();
    }

    /**
     * 客户情报取得
     * pbGetMemberInfo
     * @param   string  $strMemberNo
     * @return  array   $arrReturn
     */
    public function pbGetMemberInfo($strMemberNo){
        $objTestDao = $this->objDaoFactory->createDao(daoConfig::T_AD_M_MEMBER_DAO);
        $arrReturn = $objTestDao->pbGetMemberInfo($strMemberNo);
        return $arrReturn;
    }

    /**
     * 客户情报新规保存
     * pbGetMemberData
     * @param   array   $arrParam
     * @return  string  $strReturn
     */
    public function pbInsertMemberInfo($arrParam){
        $objTestDao = $this->objDaoFactory->createDao(daoConfig::T_AD_M_MEMBER_DAO);
        $strReturn = $objTestDao->pbInsertMemberInfo($arrParam);
        return $strReturn;
    }

    /**
     * 客户情报编辑保存
     * pbGetMemberInfo
     * @param   array   $arrParam
     * @return  string  $strReturn
     */
    public function pbUpdateMemberInfo($arrParam){
        $objTestDao = $this->objDaoFactory->createDao(daoConfig::T_AD_M_MEMBER_DAO);
        $strReturn = $objTestDao->pbUpdateMemberInfo($arrParam);
        return $strReturn;
    }

    /**
     * 客户情报删除
     * pbGetMemberInfo
     * @param   array   $arrParam
     * @return  string  $strReturn
     */
    public function pbDeletetMemberInfo($arrParam){
        $objTestDao = $this->objDaoFactory->createDao(daoConfig::T_AD_M_MEMBER_DAO);
        $strReturn = $objTestDao->pbDeletetMemberInfo($arrParam);
        return $strReturn;
    }
}